package com.sen.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sen.entity.StockheadEntity;

import java.util.List;
import java.util.Map;

/**
 * 进货表头表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-01-08 17:54:40
 */
public interface StockheadService extends IService<StockheadEntity> {

    /**
     * 查看采购订单
     * @param stockheadMap stockhead实体类
     * @return
     */
    Page<StockheadEntity> queryAll(Map<String, String> stockheadMap);

    /**
     * 重新生成订单使用
     * @param stockheadEntities
     */
    void anewStock(StockheadEntity stockheadEntities);

    /**
     * 图表数据
     * @return
     */
    Map<String, Object> getDataSta(String begin,String end);
}

